package com.huixue.cn.ztej.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huixue.cn.ztej.bean.Picture;
import com.huixue.cn.ztej.dao.PictureDao;


@Service("sysPictureService")
public class SysPictureService {

	@Autowired
	private PictureDao pictureMapper;
	
	
	public int insert(List<Picture> list){
		return pictureMapper.insert(list);
	}
	
	
	public List<Picture> listPicturyByApply(Picture picture){
		List<Picture> list  = pictureMapper.listPicturyByApply(picture);
		
		return list;
	}
}
